<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//Route::Group(['domain'=>config('conf.domain')],function (){
    Auth::routes();



    Route::get('/', 'HomeController@index');
    Route::get('/home', 'HomeController@index');
    Route::get('/index', 'HomeController@index');
    Route::get('/list', 'HomeController@list');
    Route::get('/edu', 'HomeController@edu');
    Route::get('/ads', 'HomeController@ads');
    Route::get('/ad/{advert}', 'HomeController@ad')->name('ad');

    Route::get('/recommend', 'HomeController@recommend');

    Route::get('aliPayReturnUrl','Manager\PayController@aliPayReturnUrl'); //支付宝同步回调
    Route::any('aliPayNotifyUrl','Manager\PayController@aliPayNotifyUrl'); //支付宝异步回调

    Route::post('checkWechatPay','Manager\PayController@checkWechatPay'); //检测微信支付状态（定时器）
    Route::any('wechatPayNotifyUrl','Manager\PayController@wechatPayNotifyUrl'); //微信异步回调


    //Keira3
    Route::get('/Keira3', 'HomeController@Keira3');
    Route::get('/Keira3/download', 'HomeController@Keira3_download');
    Route::get('/Keira3/download_linux', 'HomeController@Keira3_download_linux');


    Route::get('/install/{flag?}', 'HomeController@install');
    Route::get('/install_win', 'HomeController@install_win');


    Route::get('/test', 'HomeController@test');
    Route::get('/engineAuth', 'HomeController@engineAuth');

//});








